package org.example.creational.simplefactory;

public class Main {
    public static void main(String[] args) {

        Video video1 = VideoFactory.getVideo("java");
        video1.product();

        Video video = VideoFactory.getVideo(JavaVideo.class);
        video.product();

    }
}